package shopping.mode;

import java.util.List;

/**
 * 用户
 */
public class User {

    /**
     * 用户账号
     **/
    private String userNo;
    private String name;
    private String age;
    private String classId;
    private String imge;
    /**
     * 订单集合
     */
    private List<Order> orders;
    /**
     * 优惠券集合
     */
    private List<DiscountCoupon> discountCoupons;
    /**
     * 地址集合
     */
    private List<Address> addressList;

    public User() {
    }

    public User(String userNo, String name, String age, String classId, String imge) {
        this.userNo = userNo;
        this.name = name;
        this.age = age;
        this.classId = classId;
        this.imge = imge;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getImge() {
        return imge;
    }

    public void setImge(String imge) {
        this.imge = imge;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public List<DiscountCoupon> getDiscountCoupons() {
        return discountCoupons;
    }

    public void setDiscountCoupons(List<DiscountCoupon> discountCoupons) {
        this.discountCoupons = discountCoupons;
    }

    public List<Address> getAddressList() {
        return addressList;
    }

    public void setAddressList(List<Address> addressList) {
        this.addressList = addressList;
    }
}
